import request from '@/utils/request'

//获取签名信息等
export function getSigntrue(query) {
  return request({
    url: '/api/h5/common/getSigntrue',
    method: 'get',
    params: query
  })
}

//发送验证码
export function sendCode(data) {
  return request({
    url: '/api/h5/common/sendCode',
    method: 'post',
    data: data
  })
}

/**
 * 获取下载地址
 * @param data
 */
export function inviteDownloadUrl(query) {
  return request({
    url: '/api/h5/common/invite_download_url',
    method: 'get',
    params: query
  })
}


//注册
export function mobileReg(data) {
  return request({
    url: '/api/h5/common/mobileReg',
    method: 'post',
    data: data
  })
}
